﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucEditApplicantForCase.ascx.cs" Inherits="Cases_ucEditApplicantForCase" %>

<!-- 添加申请人界面  -->

<table style="width:99%;">
    <tr>
        <td class="td_title"><span class="alert">* </span>客户名</td>
        <td><asp:TextBox runat="server" CssClass="conint singleline" ID="txtName"></asp:TextBox></td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                runat="server" ErrorMessage="必填" ControlToValidate="txtName" 
                Display="Dynamic" EnableViewState="False" SetFocusOnError="True" 
                ValidationGroup="newApp"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="td_title">英文名</td>
        <td>
            <asp:TextBox ID="txtName_En" runat="server" CssClass="conint singleline"></asp:TextBox></td>
        <td>英文名称，如果没有，可不填</td>
    </tr>
    <tr>
        <td class="td_title"><span class="alert">* </span>身份证号</td>
        <td>
            <asp:TextBox ID="txtCustomerCode" runat="server" CssClass="conint singleline"></asp:TextBox></td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                runat="server" ErrorMessage="请填入个人的有效证件号码，或单位的注册号等"
                ControlToValidate="txtCustomerCode" Display="Dynamic" 
                EnableViewState="False" SetFocusOnError="True" 
                ValidationGroup="newApp"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="td_title">国家</td>
        <td>
            <asp:DropDownList ID="drpCountry" runat="server" 
                DataSourceID="SqlDataSource1" DataTextField="dName" DataValueField="dID" 
                ondatabound="drpCountry_DataBound">
            </asp:DropDownList>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                SelectCommand="SELECT RTRIM([dID]) AS dID, RTRIM([dName]) AS dName FROM [TD_Country] ORDER BY [dName] ASC">
            </asp:SqlDataSource>
        </td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td class="td_title">所在城市</td>
        <td>
            <asp:DropDownList ID="drpProvince" runat="server"
                DataTextField="dName" DataValueField="dID" 
                ondatabound="drpProvince_DataBound" AutoCallBack="True" 
                AutoPostBack="True" onselectedindexchanged="drpProvince_SelectedIndexChanged">
            </asp:DropDownList>
            <asp:DropDownList ID="drpCity" runat="server">
            </asp:DropDownList>
        </td>
        <td></td>
    </tr>
    <tr>
        <td class="td_title"><span class="alert">* </span>邮编</td>
        <td>
            <asp:TextBox ID="txtZipCode" runat="server" CssClass="conint singleline"></asp:TextBox>
        </td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
                runat="server" ErrorMessage="必填" ControlToValidate="txtZipCode" 
                Display="Dynamic" EnableViewState="False" SetFocusOnError="True" 
                ValidationGroup="newApp"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="td_title"><span class="alert">* </span>详细地址</td>
        <td>
            <asp:TextBox ID="txtAddress" runat="server" CssClass="conint" Width="260px"></asp:TextBox>
        </td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                runat="server" ErrorMessage="必填" ControlToValidate="txtAddress" 
                Display="Dynamic" EnableViewState="False" SetFocusOnError="True" 
                ValidationGroup="newApp"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="td_title"><span class="alert">* </span>电话(含区号)</td>
        <td>
            <asp:TextBox ID="txtTel" runat="server" CssClass="conint" Width="260px"></asp:TextBox>
        </td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator5" 
                runat="server" ErrorMessage="必填" ControlToValidate="txtTel" 
                Display="Dynamic" EnableViewState="False" SetFocusOnError="True" 
                ValidationGroup="newApp"></asp:RequiredFieldValidator>&nbsp;&nbsp;
            区号与电话之间没有空格符号
        </td>
    </tr>
    <tr>
        <td class="td_title"></td>
        <td>&nbsp;
        </td>
        <td></td>
    </tr>
    <tr>
        <td class="td_title"></td>
        <td>
            <asp:Button runat="server" ID="btnOK" CssClass="input00" Text="保存申请人" 
                ValidationGroup="newApp" onclick="btnOK_Click" />
            <asp:Button runat="server" ID="btnReset" CssClass="input00" Text="取消" 
                ValidationGroup="newApp" onclick="btnReset_Click" />
        </td>
        <td></td>
    </tr>
</table>
